package com.company.bookstore.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.company.bookstore.entities.user_admin_module.Schedule;
import com.company.bookstore.mapper.user_admin_module.ScheduleMapper;
import com.company.bookstore.service.user_admin_module.ScheduleService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScheduleServiceImpl extends ServiceImpl<ScheduleMapper, Schedule> implements ScheduleService {
    @Override
    public List<Schedule> getAllBookId() {
        return getBaseMapper().getAllBookIdWithStartTask();
    }
}
